﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ImageK.Gui
{
    /** Plugins that implement this interface are notified when
		an ROI is created, modified or deleted. The 
		Plugins/Utilities/Monitor Events command uses this interface.
	*/
    public interface RoiListener
    {
        public void roiModified(ImagePlus imp, int id);

        public class RoiEvents
        {
            public const int CREATED = 1;
            public const int MOVED = 2;
            public const int MODIFIED = 3;
            public const int EXTENDED = 4;
            public const int COMPLETED = 5;
            public const int DELETED = 6;
        }
    }
}
